package Interfaz;

import java.awt.Image;
import javax.swing.ImageIcon;

public class GUIRobot extends Actor {
	
	  
	  //  private Image image;
	
	public GUIRobot(int x, int y) {
        super(x, y);
        ImageIcon iia = new ImageIcon("robotDerecha.png");
        Image image = iia.getImage();
        this.setImage(image);
    }

	 public void move(int x, int y) {
		 
	        int nx = this.x() + x;
	        int ny = this.y() + y;
	        this.setX(nx);
	        this.setY(ny);
	    }
	 
	
	 
}